package cn.fengzhilun.javase.day08;

public class TestPhone {
	public static void main(String[] args) {
		//String s="小米";
		Phone p1=new Phone("小米",899);
		p1.call();
		p1.sendMessage();
		p1.playGame();
		System.out.println("******");
		Phone p2=new Phone();
		p2.setBrand("小米");
		p2.setPrice(899);
		p2.call();
		p2.sendMessage();
		p2.playGame();
	}
}
